package test5.lupeng.jf.com.teamdemo.activitys;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.prolificinteractive.materialcalendarview.CalendarDay;
import com.prolificinteractive.materialcalendarview.MaterialCalendarView;

import butterknife.BindView;
import butterknife.ButterKnife;
import test5.lupeng.jf.com.teamdemo.R;

public class CalendarActivity extends AppCompatActivity {

    @BindView(R.id.calendarView)
    MaterialCalendarView calendarView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_calendar);
        ButterKnife.bind(this);
        initView();
    }

    public void initView(){
        calendarView.setCurrentDate(CalendarDay.today());
        calendarView.setSelectedDate(CalendarDay.today());

    }
}
